package com.mzj.saas.mservice.bill.entity;

import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 账单规则与小区、房屋关系表
 */
@Entity
@Table(name = "saas_house_expense_rule_ref")
public class HouseExpenseRuleRef extends IdEntity {
    /*
    *账单规则id
    */
    @Column(name = "rule_id", nullable = true)
    private String ruleId;
    /*
    *小区id
    */
    @Column(name = "community_id", nullable = true)
    private String communityId;
    /*
    *楼栋
    */
    @Column(name = "building_num", nullable = true)
    private Long buildingNum;
    /*
    *单元
    */
    @Column(name = "unit", nullable = true)
    private Long unit;
    /*
    *房屋id
    */
    @Column(name = "house_id", nullable = true)
    private String houseId;
    /*
     * 性质:1公租房、2廉租房、3商品房、4经济适用房、5其它'
     */
    @Column(name = "house_nature", nullable = true)
    private Integer houseNature;

    /*
     * 审核状态 0未审核 1已审核
     */
    @Column(name = "audit_status", nullable = true)
    private Integer auditStatus;

    public Integer getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(Integer auditStatus) {
        this.auditStatus = auditStatus;
    }
    public Integer getHouseNature() {
        return houseNature;
    }

    public void setHouseNature(Integer houseNature) {
        this.houseNature = houseNature;
    }

    public String getRuleId() {
        return ruleId;
    }

    public void setRuleId(String ruleId) {
        this.ruleId = ruleId;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public Long getBuildingNum() {
        return buildingNum;
    }

    public void setBuildingNum(Long buildingNum) {
        this.buildingNum = buildingNum;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }
}
